package com.yixincaipiao.ui.main;

import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.util.Log;
import android.widget.ProgressBar;

import com.android.volley.VolleyError;
import com.yixincaipiao.R;
import com.yixincaipiao.base.BaseActivity;
import com.yixincaipiao.common.CommonConfig;
import com.yixincaipiao.network.FileDownload;
import com.yixincaipiao.network.Http;
import com.yixincaipiao.network.NetRequest;
import com.yixincaipiao.ui.main.action.CheckNewVersionAction;
import com.yixincaipiao.utils.L;
import com.yixincaipiao.weight.Dialogs;

import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/**
 * Created by Administrator on 2017/4/25.
 */

public class MainActivity extends BaseActivity {
    private static int mFlag = 0;


    public static void actionView(Context context, int flag) {
        context.startActivity(new Intent(context, MainActivity.class));
        mFlag = flag;
    }

    @Override
    protected void initView() {
        setContentView(R.layout.activity_main);
    }

    @Override
    protected void onResume() {
        super.onResume();
        //检查新版本  //更新版本
//        new CheckNewVersionAction(this, true).checkNewVersion();
    }


    @Override
    protected void getData() {

    }
}
